package com.bo.day20241121;

/**
 * 图-边定义
 *
 * @Author: gpb
 * @Date: 2024/11/21 11:30
 * @Description:
 */
public class Edge {
    // 边的权重
    public int width;
    // 边的起始点
    public Node from;
    // 边的终止点
    public Node to;

    public Edge (int width, Node from, Node to) {
        this.width = width;
        this.from = from;
        this.to = to;
    }
}
